package com.newy.domain.misc;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

import com.newy.core.hibernate.IdEntity;

/**
 * FAQ内容实体类
 * @author linzongxue 2012-2-19
 *
 */
@Entity
@Table(name="misc_fqa_post")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class FqaPost extends IdEntity {
	private Long typeId;
	private String question;
	private String answer;
	private Long createUser;
	private Date createTime;
	public Long getTypeId() {
		return typeId;
	}
	public void setTypeId(Long typeId) {
		this.typeId = typeId;
	}
	public String getQuestion() {
		return question;
	}
	public void setQuestion(String question) {
		this.question = question;
	}
	public String getAnswer() {
		return answer;
	}
	public void setAnswer(String answer) {
		this.answer = answer;
	}
	public Long getCreateUser() {
		return createUser;
	}
	public void setCreateUser(Long createUser) {
		this.createUser = createUser;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
}
